﻿@model OrganizationViewModel
@{
    ViewData["Title"] = "Organization: " + Model.Organization.Name;
}

<h1>Organization <small>@Model.Organization.Name</small></h1>

<h2>Information</h2>
@await Html.PartialAsync("_ViewInformation", Model)
<form asp-action="Delete" asp-route-id="@Model.Organization.Id"
      onsubmit="return confirm('Are you sure you want to delete this organization (@Model.Organization.Name)?')">
    <button class="btn btn-danger" type="submit">Delete</button>
</form>
